package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 密码管理对象 grid_account
 * 
 * @author ruoyi
 * @date 2021-12-30
 */
public class GridAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Integer userId;

    /** 公告标题 */
    @Excel(name = "公告标题")
    private String hostId;

    /** 主机IP */
    @Excel(name = "主机IP")
    private String hostIp;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userPass;

    /** 用户新密码 */
    @Excel(name = "用户新密码")
    private String newUserPass;

    /** 公告状态（0正常 1关闭） */
    @Excel(name = "公告状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setHostId(String hostId) 
    {
        this.hostId = hostId;
    }

    public String getHostId() 
    {
        return hostId;
    }
    public void setHostIp(String hostIp) 
    {
        this.hostIp = hostIp;
    }

    public String getHostIp() 
    {
        return hostIp;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPass(String userPass) 
    {
        this.userPass = userPass;
    }

    public String getUserPass() 
    {
        return userPass;
    }
    public void setNewUserPass(String newUserPass) 
    {
        this.newUserPass = newUserPass;
    }

    public String getNewUserPass() 
    {
        return newUserPass;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("hostId", getHostId())
            .append("hostIp", getHostIp())
            .append("userName", getUserName())
            .append("userPass", getUserPass())
            .append("newUserPass", getNewUserPass())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
